home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12595 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: gaia.ns.utk.edu!mbk
  2. From: mbk@caffeine.engr.utk.edu (Matt Kennel)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Will JAVA kill C++?
  5. Date: 20 Mar 1996 19:41:16 GMT
  6. Organization: University of Tennessee, Knoxville and Oak Ridge National Laboratory
  7. Message-ID: <4ipn0s$nkq@gaia.ns.utk.edu>
  8. References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4ht8k1$t7l@epx.cis.umn.edu> <3146278D.7703E9CC@netcom.com> <314EB074.575@esec.ch> <314EEBF7.67BE@parashift.com>
  9. Reply-To: kennel@msr.epm.ornl.gov
  10. NNTP-Posting-Host: caffeine.engr.utk.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Mike Girou (girou@parashift.com) wrote:
  14. : Oliver Plohmann wrote:
  15. : > What I would like to figure out is whether the "method-level" strong
  16. : > typing
  17. : > in Java helps in reducing runtime errors compared to dynamic typing in
  18. : > Smalltalk.
  19. : > 
  20.  
  21. : Good question, sure to be controversial.  Bill Berg, Marshall Cline
  22. : and I published a paper in October 1995's Communications of the ACM
  23. : describing the development of OS/400 in C++, and one of the strong
  24. : feelings by the developers was that strong type checking was a major
  25. : contributor to the project's success.
  26.  
  27. : On the other hand, Tom Morgan and some of the people at Brooklyn
  28. : Union Gas kept records for quite some time on the cause of various
  29. : programming errors in their Smalltalk development.  Surprisingly (?)
  30. : enough, problems due to run-time type checking were way down on the
  31. : list.  There is anecdotal support for this finding from other ST shops
  32. : who have kept track of where their errors come from.
  33.  
  34. Still these are not directly comparable.
  35.  
  36. By measuring the frequency of run-time type errors in smalltalk it's
  37. not possible to know the number of errors that would be eliminated
  38. if using a different kind of language. 
  39.  
  40. The errors that a statically typed language with good generics mark
  41. as compile time type errors do not always end up as runtime Smalltalk
  42. type errors, but could manifest themselves in different ways. 
  43.  
  44. : Mike Girou              girou@parashift.com
  45.